<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="/Public/admin/css/css_top.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.sitelink table {
	float: left
}
label {
	float: left;
	height: 20px;
	line-height: 20px;/* display:block;width:65px;*/
	border: #aeaeae 1px solid;
	border-right: 0px;
}
.lang {
	border: #aeaeae 1px solid;
	border-left: 0px;
	float: left;
	height: 22px;
	line-height: 22px/*BEHAVIOR: url('//Public/admin/css/selectBox.htc');*/
}
</style>
<script type="text/javascript" src="js/jquery.js"></script>
<script language="javascript">

document.getElementById("id")==document.body.offsetWidth-170;

function getObject(objectId) {
 if(document.getElementById && document.getElementById(objectId)) {
 // W3C DOM
 return document.getElementById(objectId);
 }
 else if (document.all && document.all(objectId)) {
 // MSIE 4 DOM
 return document.all(objectId);
 }
 else if (document.layers && document.layers[objectId]) {
 // NN 4 DOM.. note: this won't find nested layers
 return document.layers[objectId];
 }
 else {
 return false;
 }
}

function showHide(objname){
    
	var obj1 = getObject("items" + objname);
	
	for (i=0;i<=3;i++)
	{
		var obj = getObject("items" + i);
		var obj1 = getObject("items" + objname);
		
		if(obj==obj1){
			obj.style.display = "block";
		}else{
			obj.style.display = "none";
		}
	}
}
</script>
</head>

<body>
<div style="background-color:#FCFEFF; width:169px; height:1000px; float:left; border-right:1px #aeaeae solid;">
  <div class="menu">
    <dl>
       <!--
      <?php $k = I('k'); $menu = $GLOBALS['admin_node_list'][$k]; if (!$menu) $menu =current($GLOBALS['admin_node_list']); foreach ($menu as $m=>$v) { echo '<dt><a href="#" >'.$m.'</a></dt>
         		 <dd style="display:block;"><ul>'; foreach ($v as $k=>$url) { echo '<li><a href="'.U($url).'" target="main">'.$k.'</a></li>'; } echo '</ul></dd>'; } ?> -->

<?php foreach($auth1 as $key=>$val1){ ?>
<dt><a href="#" ><?php echo $val1['auth_name']; ?></a>
            <dd style="display:block;">
                <ul>
                    <?php foreach($auth2 as $key=>$val2){ if($val1['auth_id'] == $val2['auth_pid']){ ?>
                     <li><a href="<?php echo $val2['url']; ?>" target="main"><?php echo $val2['auth_name']; ?></a></li>
                    <?php }} ?>   
                        
                </ul>
            </dd>
        </dt>
<?php } ?>

    </dl>
  </div>
</div>
</body>
</html>